<?php $this->pageTitle=Yii::app()->name; ?>

<div class = "span-12">
	<p>人类加入星际联盟之后，星云之架成为星际穿梭途径，地球文明迅速融入到银河系文明进程，许多全新的领域之门在地球人类面前打开……</p>
	<?php 
		foreach ($eventData as $event){
			echo "<div class = 'bodySummary'>";
			echo "<h4>".CHtml::link($event->title, array('/node/view', 'id'=>$event->id))."</h4>";
			$body = strip_tags($event->body);
			if (mb_strlen($body, 'UTF-8') > 200){
				echo mb_substr($body, 0, 100, 'utf8')."……";
			}
			else{
				echo strip_tags($event->body);
			}
			echo "</div>";
		}
	?>
</div>

<div class = "span-8">
	<div style = "padding: 10px; background: #EEE;">
	</div>
</div>

<div class = "span-4 last">
	<div style = "text-align: right;">
		<?php 
			foreach ($modelTag as $tag){
				echo "<span class = 'listTag'>".CHtml::link($tag->tag, array('/tag/view', 'tag'=>$tag->tag))."</span>";
			}
			?>
		</div>
</div>